package com.wosai.medical.hospital.demo.controller.register.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("科室信息")
public class Depts implements Serializable {

    /**
     * 科室分类
     */
    private Category category;

    /**
     * 科室代码
     */
    private String code;

    /**
     * 科室代码
     */
    private String name;

    /**
     * 科室电话[可空,多个用半角逗号分隔]
     */

    private String tel;

    /**
     * 科室介绍[可空]
     */

    private String intro;

    /**
     * 科室位置[可空]
     */
    private String location;

    @Data
    @Builder
    @ApiModel("科室分类")
    static public class Category implements Serializable {
        /**
         * 科室分类代码
         */
        private String code;
        /**
         * 科室分类名称
         */
        private String name;

    }
}